using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    [Serializable]
    public class StrategyDataMappingInfo
    {
        private int seq;
        private string name;
        private StrategyTypeMappingInfo type;
        private StrategyDataInfo data;
        private StrategyDataMappingInfo parent;
        private Nullable<int> yearstart;
        private Nullable<int> yearend;
        private string status;
        private UserRecordInfo _UserInfo;

        public StrategyDataMappingInfo()
        {

        }

        public StrategyDataMappingInfo(int seq)
        {
            this.seq = seq;
        }

        public StrategyDataMappingInfo(int seq, string name, StrategyTypeMappingInfo type, StrategyDataInfo data, StrategyDataMappingInfo parent, Nullable<int> yearstart, Nullable<int> yearend, string status, UserRecordInfo _UserInfo)
        {
            this.seq = seq;
            this.name = name;
            this.type = type;
            this.data = data;
            this.parent = parent;
            this.yearstart = yearstart;
            this.yearend = yearend;
            this.status = status;
            this._UserInfo = _UserInfo;
        }

        ~StrategyDataMappingInfo()
        {

        }

        public virtual void Dispose()
        {

        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public StrategyTypeMappingInfo StrategyType
        {
            get
            {
                return type;
            }
            set
            {
                type = value;
            }
        }

        public StrategyDataInfo DataList
        {
            get
            {
                return data;
            }
            set
            {
                data = value;
            }
        }

        public StrategyDataMappingInfo Parent
        {
            get
            {
                return parent;
            }
            set
            {
                parent = value;
            }
        }

        public Nullable<int> YearStart
        {
            get
            {
                return yearstart;
            }
            set
            {
                yearstart = value;
            }
        }

        public Nullable<int> YearEnd
        {
            get
            {
                return yearend;
            }
            set
            {
                yearend = value;
            }
        }

        public UserRecordInfo User
        {
            get
            {
                return _UserInfo;
            }
            set
            {
                _UserInfo = value;
            }
        }
    }
}